package com.carbonspark.auth.domain.service;


import cn.dev33.satoken.stp.SaTokenInfo;
import com.carbonspark.auth.common.entity.PageResult;
import com.carbonspark.auth.domain.entity.AuthUserBO;

import java.util.List;

/**
 * 用户领域service
 * 
 * @author: ChickenWing
 * @date: 2023/11/1
 */
public interface AuthUserDomainService {

    /**
     * 注册
     */
    Boolean register(AuthUserBO authUserBO);

    Boolean update(AuthUserBO authUserBO);
    /**
     * 逻辑删除用户信息
     */
    Boolean delete(AuthUserBO authUserBO);

    SaTokenInfo doLogin(String username,String password);

    AuthUserBO getUserInfo(String loginId);

    /**
     * 分页查询用户所有信息
     * @param authUserBO
     * @return
     */
    PageResult<AuthUserBO> selectUserList(AuthUserBO authUserBO);


    PageResult<AuthUserBO> getUserList(AuthUserBO authUserBO);
}

